package com.RedRiver.hospitalsystem.finance_service.client;


import com.RedRiver.hospitalsystem.finance_service.client.param.DemoParam;
import com.RedRiver.hospitalsystem.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
* contextId是项目名，name是client的名字
*/
@FeignClient(contextId = "Demo",name="finance-service",path = "financeService")

public interface DemoClient {
    @PostMapping("/bill/bill/")
    Result demo();

}
